/**
 * 如何使用
 const common = require('../../utils/common.js');
 common.requestUrl即可
 */

//-------------------------暴露js方法供其他页面调用使用---------------------------------

// export var url = "http://47.99.56.214";
// export var url = "http://192.168.1.6";
// export var url = "https://www.nxyzkj.com"; //正式服
export var url = "http://127.0.0.1:90"; //测试环境
// export var url = "https://www.nxyyzl.com/api";// 云逸线上 
 
module.exports = {
  //地图定位key
  qqMapKey: 'KBGBZ-6N5WU-RI3V6-2KT5J-OYKQ5-HOFYI',
  //上传图片地址 
  updateFile: url + "/blade-resource/oss/endpoint/put-file",
  // updateFile: "https://tmsway.oss-cn-beijing.aliyuncs.com/blade-resource/oss/endpoint/put-file",
  // 发送验证码
  sendMsgUrl: url + "/blade-user/msg/sendMsg",
  //改变车辆状态
  updateVehicleBusinessStatus:url+"/zy-carteam/vehicleVerifyApp/updateVehicleBusinessStatus",
  // 承运商登录
  loginCarCaptain: url + "/blade-user/userLogin/loginCarrierByCode",
  // 车队长Banner   类型 0：司机 1：车队长
  getBannerDetail: url + "/zy-carteam/bannerApp/getBannerDetail",
  // 车队长运输计划
  fleetLeaderPlan: url + "/zy-carteam/planApp/fleetLeaderPlan",
  // 查看运输计划详情
  getPlanDispatch: url + "/zy-carteam/plandisatchApp/getPlanDispatch",
  // 获取派车空闲车辆
  idleVehicle: url + "/zy-carteam/vehicleVerifyApp/idleVehicle",
  // app派车
  savePlanDispatch: url + "/zy-carteam/plandisatchApp/savePlanDispatch",
  // 我的车辆
  myVehicles: url + "/zy-carteam/vehicleVerifyApp/myVehicles",
  // 查看运单
  // getPlanDispatch: url + "/zy-carteam/plandisatchApp/getPlanDispatch",
  // 车队长我的统计
  teamLeaderMyStatistics: url + "/zy-carteam/userverifyApp/teamLeaderMyStatistics",
  //费用类型集合获取
  dictModel: url + '/blade-user/dict-biz/dictModel',
  //记账列表
  listKeepAccounts: url + '/zy-carteam/keepAccountsApp/listKeepAccountsCarCaptain',
  // 记账详情
  getKeepAccounts: url + '/zy-carteam/keepAccountsApp/getKeepAccounts',
  //车队长运单历史数据
  fleetCaptainWaybillTable: url + '/zy-carteam/waybillApp/fleetCaptainWaybillTable',
  // 运单运输中详情
  detailsInTransit: url + '/zy-carteam/waybillApp/detailsInTransit',
  // 取消派车?waybillNumber=1588717280734023682 
  cancelPlanDispatch: url + '/zy-carteam/plandisatchApp/cancelPlanDispatch',

  //上传或修改装车信息
  uploadLoadingInfo: url + '/zy-carteam/waybillApp/uploadLoadingInfo',
  //上传或修改卸车磅单
  unloadingScale: url + '/zy-carteam/waybillApp/unloadingScale',
  // 新增记账
  saveKeepAccounts: url + '/zy-carteam/keepAccountsApp/saveKeepAccounts',
  // 修改记账
  updateKeepAccounts: url + '/zy-carteam/keepAccountsApp/updateKeepAccounts',

  //webHomepageStatistics 总运输辆接口
  webHomepageStatistics: url + "/zy-carteam/userverify/webHomepageStatistics",
  //调用列表数据lineData
  lineData: url + "/zy-carteam/line/page?current=1&size=10",
  //月度概览
  webHomepageMonthStatistics: url + "/zy-carteam/userverify/webHomepageMonthStatistics",
  //年度概览
  webHomepageYearStatistics: url + "/zy-carteam/userverify/webHomepageYearStatistics",
  //拼车调度列表
  hazardousGoodsRemainingPlans: url + "/zy-carteam/planApp/hazardousGoodsRemainingPlans",
  //空闲押运员列表
  allListEscortInfo: url + "/zy-carteam/escortInfoApp/allListEscortInfo",
  //空闲司机
  listIdleDriverInfo: url + "/zy-carteam/userverifyApp/listIdleDriverInfo",
  //空闲车牌号
  listTrailerVehicleInfo: url + "/zy-carteam/vehicleTrailerApp/listTrailerVehicleInfo"
}

